package com.central.commons.exception;

public class ModelViewException extends RuntimeException {

    private static final long serialVersionUID = -2317023724452351491L;

    //将Exception 转换为ModelViewException
    public static ModelViewException transfer(Throwable cause) {
        return new ModelViewException(cause);
    }

    private ModelViewException(Throwable cause) {
        super(cause);
    }
}